﻿
Partial Class WebForm_ManageRoleUserMappingByUser
    'Inherits System.Web.UI.Page
    Inherits My.MyPage

    Protected Sub Page_Load(ByVal sender As Object, ByVal e As System.EventArgs) Handles Me.Load
        If Not IsPostBack Then
            Me.BindData()
        End If
    End Sub

    Protected Sub AssignRole1_Loaded(ByVal source As Object, ByVal e As System.EventArgs) Handles AssignRole1.Loaded
        Me.AssignRole1.Show()
    End Sub

    Protected Sub AssignUser1_Loaded(ByVal source As Object, ByVal e As System.EventArgs) Handles AssignUser1.Loaded
        Me.AssignUser1.Show()
    End Sub

    Protected Sub AssignRole2_Loaded(ByVal source As Object, ByVal e As System.EventArgs) Handles AssignRole2.Loaded
        Me.AssignRole2.ShowReadOnly()
    End Sub

    Protected Sub AssignUser2_Loaded(ByVal source As Object, ByVal e As System.EventArgs) Handles AssignUser2.Loaded
        Me.AssignUser2.ShowReadOnly()
    End Sub
End Class

Partial Class WebForm_ManageRoleUserMappingByUser
    Private Sub BindData()
        'Me.AssignRole1.BindGV()

        'MyObj.ShowMessage(Me.CanDelete)
        'MyObj.ShowMessage(Me.AssignRole1.GetControlName())
        'MyObj.ShowMessage(Me.AssignRole1.CanAdd)
    End Sub
End Class